package mypackage.bean;

import java.sql.Date;

public class Goods {
	private String id;
	private String name;
	private double inputMoney;
	private double outputMoney;
	private Date onDate;
	private String brand;
	private int amount;
	private String description;

	
	public Goods() {
		super();
	}
	
	public Goods(String id, String name, double inputMoney, double outputMoney, Date onDate, String brand, int amount,
			String description) {
		super();
		this.id = id;
		this.name = name;
		this.inputMoney = inputMoney;
		this.outputMoney = outputMoney;
		this.onDate = onDate;
		this.brand = brand;
		this.amount = amount;
		this.description = description;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getInputMoney() {
		return inputMoney;
	}

	public void setInputMoney(double inputMoney) {
		this.inputMoney = inputMoney;
	}

	public double getOutputMoney() {
		return outputMoney;
	}

	public void setOutputMoney(double outputMoney) {
		this.outputMoney = outputMoney;
	}

	public Date getOnDate() {
		return onDate;
	}

	public void setOnDate(Date onDate) {
		this.onDate = onDate;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "[编号：" + id + ", 名称：" + name + ", 进价：" + inputMoney + ", 售价：" + outputMoney
				+ ", 上架日期：" + onDate + ", 品牌：" + brand + ",库存量：" + amount + ", 描述：" + description
				+ "]";
	}
}
